package cc.admin.common.constant;

/**
 * @Description: Websocket常量类
 * @author: taoyan
 * @date: 2020年03月23日
 */
public class WebsocketConst {


    /**
     * 消息json key:cmd
     */
    public static final String MSG_CMD = "cmd";

    /**
     * 消息json key:msgId
     */
    public static final String MSG_ID = "msgId";

	/**
	 * 消息json key:serverInfo 获取服务器信息
	 */
	public static final String MSG_SERVER_INFO = "serverInfo";

    /**
     * 消息json key:msgTxt
     */
    public static final String MSG_TXT = "msgTxt";


	/**
	 * 消息json key:callTxt
	 */
	public static final String CALL_TXT = "callTxt";

    /**
     * 消息json key:userId
     */
    public static final String MSG_USER_ID = "userId";

    /**
     * 消息类型 heartcheck
     */
    public static final String CMD_CHECK = "heartCheck";

    /**
     * 消息类型 user 用户消息
     */
    public static final String CMD_USER = "user";

    /**
     * 消息类型 topic 系统通知
     */
    public static final String CMD_TOPIC = "topic";
    /**
     * 消息类型 flow 工作流消息
     */
    public static final String CMD_FLOW= "flow";

    /**
     * 消息类型 email
     */
    public static final String CMD_EMAIL = "email";

    /**
     * 消息类型 meetingsign 会议签到
     */
    public static final String CMD_SIGN = "sign";

	/**
	 * 消息类型 stepStatus
	 */
	public static final String CMD_STEP_STATUS = "stepStatus";

    /**
     * 消息类型 已读消息
     */
	public static final String CMD_READ = "read";
}
